import React from "react"
import ProtvistaStructure from "protvista-structure"

// 扩展 JSX 元素类型
declare global {
  namespace JSX {
    interface IntrinsicElements {
      'protvista-structure': any;
    }
  }
}
function myReactComponent() {
  return (
    <div>
      <p>This is a React component</p>
      <protvista-structure accession="P06493" structureId="4YC3" />
      <protvista-structure
        accession="P06493"
        highlight="209:220"
        structureId="4YC3"
        hide-table
      />
    </div>
  )
}

export default myReactComponent